/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 15:00:31
 */
import request from '@/utils/request'

export function qr_goodsAdd(data) {
  return request({
    url: '/wmyw/qr_goods/add',
    method: 'post',
    data
  })
}

export function qr_goodsUpdate(data) {
  return request({
    url: '/wmyw/qr_goods/update',
    method: 'post',
    data
  })
}

export function qr_goodsDel(data) {
  return request({
    url: '/wmyw/qr_goods/del',
    method: 'post',
    data
  })
}

export function qr_goodsSelect(data) {
  return request({
    url: '/wmyw/qr_goods/select',
    method: 'post',
    data
  })
}

export function qr_goodsSelectpage(data) {
  return request({
    url: '/wmyw/qr_goods/selectpage',
    method: 'post',
    data
  })
}

export function qr_goodsSelecttree(data) {
  return request({
    url: '/wmyw/qr_goods/selecttree',
    method: 'get',
    params:data
  })
}

export function qr_goodsInfo(data) {
  return request({
    url: '/wmyw/qr_goods/info',
    method: 'get',
    params:data
  })
}